package com.szyibei.system.common.exception;
public class BizRuntimeException extends RuntimeException {

    private static final long serialVersionUID = 4879729906457948271L;
    
    private String errorCode;

    public BizRuntimeException() {
        super();
    }

    public BizRuntimeException(String message, Throwable cause) {
        super(message, cause);
    }

    public BizRuntimeException(String message) {
        super(message);
    }

    public BizRuntimeException(Throwable cause) {
        super(cause);
    }

    public BizRuntimeException(String errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

}